package com.hsogoo.study.concurrency.disruptor;

import com.lmax.disruptor.EventTranslatorOneArg;

public class TaskEventTranslator implements EventTranslatorOneArg<TaskEvent, Task> {

    @Override
    public void translateTo(TaskEvent event, long sequence, Task task) {

        event.setTask(task);

    }
}
